const optCubes = [
    {
        data:{"id":"001","type": "Z","name": "测试",color:'#228B22'},
        "points": [ {x:80, y:0, z:0  },{x:540, y:0, z:0  },{x:540, y:240, z:0  },{x:80, y:240, z:0  },
                    {x:80, y:0, z:260},{x:540, y:0, z:260},{x:540, y:240, z:260},{x:80, y:240, z:260}],
        faceOpts:[
            {faceIdx: 2, faceColor: '#ffff33',
            fillOpts: [
                {  x: 0  , y: 0  ,  width: 200, height: 100 , pic: './img/p01.png', title: 'p01' },
                {  x: 200, y: 0  ,  width: 200, height: 100 , pic: './img/p02.png', title: 'p02' },
                {  x: 0  , y: 100,  width: 200, height: 100 , pic: './img/p01.png', title: 'p03' },
                {  x: 200, y: 100,  width: 200, height: 100 , pic: './img/p04.png', title: 'p04' },
                {  x: 0  , y: 0  ,  width: 100, height: 100 , color: '#FF0000'    , title: '#FF0000' },
                {  x: 100, y: 100 , width: 100, height: 100 , color: '#228B22'    , title: '#228B22' },
                {  x: 250, y: 200 , width: 100, height: 100 , color: '#0000CD'    , title: '#0000CD' }
            ]
            }
        ]
     },
    {
        data:{"id":"101","type": "Z","name": "柱1",color:'#FF0000'},
        "points": [{"x": 0,"y": 0,"z":0  },{"x": 80  ,"y": 0,"z":0  },{"x": 80,"y": 60,"z":0  },{"x": 0,"y": 60,"z":0  },
                   {"x": 0,"y": 0,"z":380},{"x": 80  ,"y": 0,"z":380},{"x": 80,"y": 60,"z":380},{"x": 0,"y": 60,"z":380}],
     },
     {
        data:{"id":"102","type": "Z","name": "柱2"},
        "points": [{"x": 1220,"y": 0,"z":0  },{"x": 1300,"y": 0,"z":0  },{"x": 1300,"y": 60,"z":0  },{"x": 1220,"y": 60,"z":0  },
                   {"x": 1220,"y": 0,"z":380},{"x": 1300,"y": 0,"z":380},{"x": 1300,"y": 60,"z":380},{"x": 1220,"y": 60,"z":380}],
     },
     {
        data:{"id":"103","type": "Z","name": "柱3s"},
        "points": [{"x": 1220,"y": 540,"z":0  },{"x": 1300,"y": 540,"z":0  },{"x": 1300,"y": 600,"z":0  },{"x": 1220,"y": 600,"z":0  },
                   {"x": 1220,"y": 540,"z":380},{"x": 1300,"y": 540,"z":380},{"x": 1300,"y": 600,"z":380},{"x": 1220,"y": 600,"z":380}],
     },
     {
        data:{"id":"104","type": "Z","name": "柱4"},
        "points": [{"x": 0,"y": 540,"z":0  },{"x": 80,"y": 540,"z":0  },{"x": 80,"y": 600,"z":0  },{"x": 0,"y": 600,"z":0  },
                   {"x": 0,"y": 540,"z":380},{"x": 80,"y": 540,"z":380},{"x": 80,"y": 600,"z":380},{"x": 0,"y": 600,"z":380}],
     },
     {
        data:{"id":"201","type": "L","name": "梁5"},
        "points": [{"x": 80,"y": 0,"z":320},{"x": 1220,"y": 0,"z":320},{"x": 1220,"y": 60,"z":320},{"x": 80,"y": 60,"z":320},
                   {"x": 80,"y": 0,"z":380},{"x": 1220,"y": 0,"z":380},{"x": 1220,"y": 60,"z":380},{"x": 80,"y": 60,"z":380}],
     },
     {
        data:{"id":"301","type": "LQ","name": "梁墙6"},
        "points": [{"x": 1220,"y": 60,"z":0  },{"x": 1300,"y": 60,"z":0  },{"x": 1300,"y": 540,"z":0  },{"x": 1220,"y": 540,"z":0  },
                   {"x": 1220,"y": 60,"z":380},{"x": 1300,"y": 60,"z":380},{"x": 1300,"y": 540,"z":380},{"x": 1220,"y": 540,"z":380}],
     },
     {
        data:{"id":"302","type": "LQ","name": "梁墙7"},
        "points": [{"x": 80,"y": 540,"z":0  },{"x": 1220,"y": 540,"z":0  },{"x": 1220,"y": 600,"z":0  },{"x": 80,"y": 600,"z":0  },
                   {"x": 80,"y": 540,"z":380},{"x": 1220,"y": 540,"z":380},{"x": 1220,"y": 600,"z":380},{"x": 80,"y": 600,"z":380}],
     },
     {
        data:{"id":"302","type": "LQ","name": "梁墙8"},
        "points": [{"x": 0,"y": 60,"z":0  },{"x": 80,"y": 60,"z":0  },{"x": 80,"y": 540,"z":0  },{"x": 0,"y": 540,"z":0  },
                   {"x": 0,"y": 60,"z":380},{"x": 80,"y": 60,"z":380},{"x": 80,"y": 540,"z":380},{"x": 0,"y": 540,"z":380}],
     },

     {
        data:{"id":"401","type": "DB","name": "地板01"},
        "points": [{"x": 80,"y": 60,"z":360},{"x": 620,"y": 60,"z":360},{"x": 620,"y": 540,"z":360},{"x": 80,"y": 540,"z":360},
                   {"x": 80,"y": 60,"z":380},{"x": 620,"y": 60,"z":380},{"x": 620,"y": 540,"z":380},{"x": 80,"y": 540,"z":380}],
     },
     {
        data:{"id":"402","type": "DB","name": "地板02"},
        "points": [{"x": 680,"y": 60,"z":360},{"x": 1220,"y": 60,"z":360},{"x": 1220,"y": 540,"z":360},{"x": 680,"y": 540,"z":360},
                   {"x": 680,"y": 60,"z":380},{"x": 1220,"y": 60,"z":380},{"x": 1220,"y": 540,"z":380},{"x": 680,"y": 540,"z":380}],
        faceOpts:[
            {faceIdx: 1, faceColor: '#ffff33',
            fillOpts: [
                {  x: 0  , y: 0  ,  width: 200, height: 100 , pic: './img/p01.png', title: 'p01' },
                {  x: 200, y: 0  ,  width: 200, height: 100 , pic: './img/p02.png', title: 'p02' },
                {  x: 0  , y: 100,  width: 200, height: 100 , pic: './img/p01.png', title: 'p03' },
                {  x: 200, y: 100,  width: 200, height: 100 , pic: './img/p04.png', title: 'p04' },
                {  x: 0  , y: 0  ,  width: 100, height: 100 , color: '#FF0000'    , title: '#FF0000' },
                {  x: 100, y: 100 , width: 100, height: 100 , color: '#228B22'    , title: '#228B22' },
                {  x: 250, y: 200 , width: 100, height: 100 , color: '#0000CD'    , title: '#0000CD' }
            ]
            }
        ]
     },
     {
        data:{"id":"202","type": "L","name": "梁9"},
        "points": [{"x": 620,"y": 60,"z":320},{"x": 680,"y": 60,"z":320},{"x": 680,"y": 540,"z":320},{"x": 620,"y": 540,"z":320},
                   {"x": 620,"y": 60,"z":380},{"x": 680,"y": 60,"z":380},{"x": 680,"y": 540,"z":380},{"x": 620,"y": 540,"z":380}],
     }
]